#include "Stack.h"

#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
	Stack *stack = new Stack();
	stack->push(1);
	stack->push(5);
	stack->push(2);
	
	int value = stack->pop();
	
	cout<< "value = "<< value<<endl;

	delete stack;

	Stack ss;
	ss.push(6);
	int a = ss.pop();
	cout<<"a = "<<a<<endl;
	
	return 0;
}
